<table border="1" align="center" width="40%">
<?php for($i=1 ; $i<=15 ; $i++) {
	$color = ($i%2)==0 ? 'pink':'lightgreen';	
?>
	<tr style="background-color:<?=$color?>">
	
	<?php for($j=1 ; $j<=3 ;$j++) {?>
		<td>Row <?=$i?></td>
	<?php }?>	
	</tr>
<?php }//end for()?>
</table>

